//
//  InputWordsViewController.h
//  NotMadLibs
//
//  Created by crpatte2 on 11/2/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "OutputPassageViewController.h"


@interface InputWordsViewController : UIViewController {
    UIButton *submit;
    UIImageView *background;
    NSDictionary *excerpt;
    NSMutableArray *typesArray;
    NSMutableArray *inputtedWords;
    // components for dynamically adding the labels and input fields
    UIScrollView *scrollView;
    int xLocLabel;
    int xLocInput;
    int yLocLabel;
    int yLocInput;
    int heightLabel;
    int widthLabel;
    int heightInput;
    int widthInput;
    NSMutableArray *inputBoxes;
    UIControl *controller;
}

@property (nonatomic, retain) IBOutlet UIButton *submit;
@property (nonatomic, retain) IBOutlet UIImageView *background;
@property (nonatomic, retain) NSDictionary *excerpt;
@property (nonatomic, retain) NSMutableArray *typesArray;
@property (nonatomic, retain) NSMutableArray *inputtedWords;
// components for dynamically adding the labels and input fields
@property (nonatomic, retain) IBOutlet UIScrollView *scrollView;
@property (nonatomic, retain) IBOutlet UIControl *controller;


-(IBAction)textDoneEditing:(id)sender;
-(void) parseInput: (NSString *)text;

@end
